package com.yh.supergo.manager.service.impl;

import com.yh.supergo.manager.service.ItemService;
import com.yh.supergo.pojo.Item;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import java.util.List;

@RunWith(SpringRunner.class)
@SpringBootTest
public class ItemServiceImplTest {

    @Autowired
    private ItemService itemService;

    @org.junit.Test
    public void skuList() {
        List<Item> items = itemService.skuList(12312414L);
        System.out.println(items == null);
        System.out.println(items.isEmpty());
    }
}